40 GOSUB 870: PRINT : PRINT CHR$(4);"READ ";F$: INPUT NS: FOR S = 1 TO NS: GOSUB 120: POKE -16368,0: GOSUB 260: NEXT S: INPUT PC: POKE PC,1: GOSUB 880: TEXT : HOME :T = 10:B = 15:L = 1:W = 39: GOSUB 110: VTAB T +1: PRINT "You got ";NR;" out of ";NS;" correct.": IF NR/NS > = .5 THEN PRINT "Congratulations! You did very": PRINT "well on this section.": GOSUB 60: GOTO 20
50 PRINT "You may want to review this": PRINT "section of the disk again.": GOSUB 60: GOTO 20
60 POKE -16368,0
70 P = PEEK( -16384):TE = TE +1: ON P = 155 GOTO 900: ON P < >13 GOTO 80: IF TE <225 THEN 70
270 CH$ = "": VTAB B -5: HTAB 27: CALL -868: GET CH$: IF ASC(CH$) = 13 THEN 270
275 IF ASC(CH$) = 27 THEN 900
280 IF ASC(CH$) <65 OR ASC(CH$) >68 AND ASC(CH$) <97 OR ASC(CH$) >100 THEN 270
290 VTAB B -5: HTAB 27: PRINT CH$
292 IF ASC(CH$) = 97 THEN CH$ = "A"
294 IF ASC(CH$) = 98 THEN CH$ = "B"
296 IF ASC(CH$) = 99 THEN CH$ = "C"
298 IF ASC(CH$) = 100 THEN CH$ = "D"
300 VTAB B -5: HTAB 28: GET RE$: IF ASC(RE$) < >13 AND ASC(RE$) < >8 THEN 300
310 IF ASC(RE$) = 13 THEN 330
320 IF ASC(RE$) = 8 THEN 270
330 IF CH$ = CH$(1) THEN VTAB B -2: HTAB 1: CALL -958: PRINT "You already tried that answer.": PRINT "Please choose another answer.";: GOTO 270
340 IF CH$ = CA$ THEN NR = NR +1: GOTO 370
350 IA = IA +1: IF IA < = 1 THEN CH$(1) = CH$: VTAB B -2: HTAB 1: PRINT "Not quite. Please try again.": GOTO 270
360 VTAB B -7: HTAB 1: CALL -958: PRINT "The correct answer is ";CA$".": PRINT : GOSUB 200: RETURN
370 PR$(1) = "Right you are!":PR$(2) = "Absolutely correct.":PR$(3) = "That's right.":PR$(4) = "You got it.":PR$(5) = "Exactly right!":PR$(6) = "Correct!":PR$(7) = "That's the right answer.":PR$(8) = "Very good!":PR$(9) = "Right as rain.":PR$(10) = "Wonderful answer!"
380 A = INT( RND(1) *9) +1: VTAB B -7: HTAB 1: CALL -958: PRINT PR$(A): GOSUB 200: RETURN
390 TEXT : POKE 34,0: POKE 33,40: POKE -16368,0: HOME :T$ = "Quick Quiz Menu": GOSUB 680: FOR U = 1 TO 40: PRINT "_";: NEXT U
395 PRINT : PRINT : PRINT " 1. How to Use the Quiz": PRINT : PRINT " 2. Quiz on Apple Presents Apple": PRINT : PRINT " 3. Quiz on Apple at Work": PRINT : PRINT " 4. Quiz on The Inside Story"
400 PRINT : PRINT " 5. Quiz on Getting Down to BASIC": PRINT : PRINT " 6. Quit":T = 0: FOR I = 0 TO 5: IF PEEK(I +850) = 1 THEN HTAB (1): VTAB 5 +(2 *I): PRINT "*"
410 IF PEEK(I +850) = 1 THEN J = I +2:T = 1
420 NEXT I: IF T < >1 THEN J = 1
430 GOSUB 690: VTAB 19: PRINT : PRINT "Type a number, or select with the UP or DOWN ARROW key. Then press RETURN.": FOR U = 1 TO 40: PRINT "_";: NEXT U: PRINT : PRINT "* marks a topic you have completed";
440 VTAB 21: HTAB 35: CALL -868: GET CH$: IF ASC(CH$) = 13 THEN GOTO 600